Telegram Group & Telegram Channel
Что выведет этот код?

A) 1
B) -1
C) 2
D) 0

❗️ Ответ: B (-1). Объяснение:

🔍 ~ — побитовый оператор НЕ, он инвертирует все биты числа и вычисляет -(n+1) для числа. Поэтому 4 становится -( 4+1)= -5.
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/python_testit/1109
Create:
Last Update:

Что выведет этот код?

A) 1
B) -1
C) 2
D) 0

❗️ Ответ: B (-1). Объяснение:

🔍 ~ — побитовый оператор НЕ, он инвертирует все биты числа и вычисляет -(n+1) для числа. Поэтому 4 становится -( 4+1)= -5.

BY Python tests




Share with your friend now:
tg-me.com/python_testit/1109

View MORE
Open in Telegram


Python tests Telegram | DID YOU KNOW?

Date: |

At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?

Python tests from kr


Telegram Python tests
FROM USA